#!/usr/bin/env python
# encoding: utf-8
"""
@Author: Beam
@Mail:506556658@qq.com
@file: url.py
@time: 2017/8/14 11:09
"""


from django.conf.urls import include, url
from django.contrib import admin
from cmdb import login
from cmdb import views

urlpatterns = [

    url(r'^login',login.login,name="cmdb_login"),
    url(r'^home', login.home,name="cmdb_home"),
	url(r'bkdetail-(?P<nid>\d+)/$',login.bkdetail),
	url(r'bkdelete-(?P<nid>\d+)/$',login.bkdelete),
	url(r'bkedit-(?P<nid>\d+)/$',login.bkedit,name="bk_edit"),
	url(r'^orm', views.orm),
]